package web.dynamic.client;

import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.form.FormPanel;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.google.gwt.user.client.Element;

public class Manager extends LayoutContainer {
	@Override
	protected void onRender(Element parent, int index) {
		super.onRender(parent, index);
		setLayout(new FitLayout());
		
		DCM.init();

		FormPanel f = DCM.<FormPanel> createComponent("example.sales.saleinfo.form");

		// DCM.createComponent( "example.sales.client.list" );

		add(f);
	}
}
